package org.apache.catalina.logger;

/**
 * Simple implementation of <b>Logger</b> that writes to System.out.
 * Because this component is so simple, no configuration is required.
 * Therefore, Lifecycle is not implemented.
 */

public class SystemOutLogger extends LoggerBase {
	
    protected static final String info = "org.apache.catalina.logger.SystemOutLogger/1.0";

    /**
     * Writes the specified message to a servlet log file, usually an event
     * log.  The name and type of the servlet log is specific to the
     * servlet container.
     *
     * @param msg A <code>String</code> specifying the message to be written
     *  to the log file
     */
    public void log(String msg) {
        System.out.println(msg);
    }
}
